home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmIP
- BorderStyle = 4 'Fixed ToolWindow
- Caption = "Host Address"
- ClientHeight = 315
- ClientLeft = 2130
- ClientTop = 1980
- ClientWidth = 3000
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 315
- ScaleWidth = 3000
- ShowInTaskbar = 0 'False
- Begin VB.CommandButton cmdOK
- Caption = "OK"
- Height = 255
- Left = 2160
- TabIndex = 1
- Top = 0
- Width = 735
- End
- Begin VB.TextBox txtIPAddress
- Height = 285
- Left = 0
- TabIndex = 0
- Text = "127.0.0.1"
- Top = 0
- Width = 1935
- End
- Attribute VB_Name = "frmIP"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private WithEvents ConnectStatus As cClientActions
- Attribute ConnectStatus.VB_VarHelpID = -1
- Private Sub cmdOK_Click()
- ' Exit if Empty string
- If txtIPAddress = "" Then Exit Sub
- 'Attempt Connection to the Server.
- Client_.Connect txtIPAddress, frmCLient.tcpClient
- End Sub
-